Component org.nuxeo.ecm.platform.publisher.task.contrib
In bundle org.nuxeo.ecm.platform.publisher.task
Contributions
- org.nuxeo.ecm.platform.publisher.task.contrib--factory
- org.nuxeo.ecm.platform.publisher.task.contrib--treeInstance
XML Source
<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.publisher.task.contrib">
 <require>org.nuxeo.ecm.platform.publisher.contrib</require>
  <extension
      target="org.nuxeo.ecm.platform.publisher.impl.service.PublisherServiceImpl"
      point="factory">
    <publishedDocumentFactory name="CoreProxyWithWorkflow"
                              class="org.nuxeo.ecm.platform.publisher.task.CoreProxyWithWorkflowFactory"
                              validatorsRule="CoreValidatorsRule"/>
  </extension>
  <extension
      target="org.nuxeo.ecm.platform.publisher.impl.service.PublisherServiceImpl"
      point="treeInstance">
    <publicationTreeConfig name="DefaultSectionsTree" tree="RootSectionsCoreTree"
                           factory="CoreProxyWithWorkflow" localSectionTree="true"
                           title="label.publication.tree.local.sections">
      <parameters>
        <!-- <parameter name="RootPath">/default-domain/sections</parameter> -->
        <parameter name="RelativeRootPath">/sections</parameter>
        <parameter name="enableSnapshot">true</parameter>
        <parameter name="iconExpanded">/icons/folder_open.gif</parameter>
        <parameter name="iconCollapsed">/icons/folder.gif</parameter>
      </parameters>
    </publicationTreeConfig>
  </extension>
</component>